home *** CD-ROM | disk | FTP | other *** search
- SELE CURRENT
- SET INDE TO CURRNAME,CURRNMBR
- CLEA
- @01,00 say 'position printer at top of paper and hit any key'
- SET cons off
- WAIT
- SET cons on
- @01,00
- @05,00 say 'printing ......'
- SET cons off
- mtitle='ATTORNEYS SHORT LIST'
- pos=40-(int(len(mtitle)/2))
- line=1
- SET devi to print
- @line,pos say mtitle
- GOTO top
- mnumber1=recno()
- SKIP 52
- mnumber2=recno()
- GOTO top
- line=4
- mstop=.t.
- pos=0
- DO WHIL line<=55
- @line,pos say file_nmbr+' '+substr(clientname,1,14)+' | '+;
- substr(reference,1,13)
- mnumber=recno()
- GOTO mnumber2
- IF .not. mstop
- GOTO mnumber
- SKIP
- line=line+1
- LOOP
- ELSE
- @line,pos+40 say file_nmbr+' '+substr(clientname,1,14)+' | '+;
- substr(reference,1,13)
- SKIP 1
- IF eof()
- mstop=.f.
- GOTO mnumber
- SKIP
- line=line+1
- LOOP
- ELSE
- mnumber2=recno()
- line=line+1
- GOTO mnumber
- SKIP
- ENDI
- ENDI
- ENDD
- @prow(),pcol() say chr(13)
- @prow(),pcol() say chr(12)
- SET devi to screen
- GOTO TOP
- line=99
- page=0
- DO WHIL .NOT. EOF()
- IF line>56
- IF page>=1
- EJEC
- ENDI
- page=page+1
- SET PRIN ON
- ?
- ?' PAGE '+STR(PAGE)
- ?' CURRENT CASES FOR ATTORNEY '
- ? DATE()
- ?
- ?
- ?
- SET PRIN OFF
- LINE=6
- ENDI
- SET PRIN ON
- ? TRIM(CLIENTNAME)+' ( '+FILE_NMBR+') '+TRIM(CPHONE),;
- TRIM(ALTPHONE)+' '+'CAUSE NO.'+' '+ CAUSE_NMBR ì
-
- ? ' '+TRIM(REFERENCE)+' * '+TRIM(OPA)+'* '+TRIM(OPA_PHONE)
- ?
- SET PRIN off
- line=line+3
- SKIP
- ENDD
- EJEC
- SET PRIN off
- SET cons on
- SET device to screen
- STOR '012' to curr
- RETU